<!--
*Author：富行天下团队

 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/mall/erp_bill_flow_team.js此处编写
 -->
<template>
    <div>
        <view-grid
                   ref="grid"
                   :columns="columns"
                   :detail="detail"
                   :editFormFields="editFormFields"
                   :editFormFileds="editFormFields"
                   :editFormOptions="editFormOptions"
                   :searchFormFields="searchFormFields"
                   :searchFormFileds="searchFormFields"
                   :searchFormOptions="searchFormOptions"
                   :table="table"
                   :extend="extend">
        </view-grid>
    </div>
</template>

<script>
    import extend from "@/extension/mall/erp_bill_flow_team.js";
    import ViewGrid from "@/components/basic/ViewGrid.vue";
    var vueParam = {
        components: {
            ViewGrid
        },
        data() {
            return {
                table: {
                    key: 'Id',
                    footer: "Foots",
                    cnName: '线下二消流水记录',
                    name: 'erp_bill_flow_team',
                    url: "/erp_bill_flow_team/",
                    sortName: "Id"
                },
                extend: extend,
                editFormFields: {},
                editFormOptions: [],
                searchFormFields: {LeadershipName:"",LeadershipPhone:"",SettlementTime:"",CardFaceIds:"",SkuName:"",SkuCode:'',OrderId:""},
                searchFormOptions: [[{ "title": "导游名称", "field": "LeadershipName", "type": "like"},{ "title": "导游手机号", "field": "LeadershipPhone", "type": "like"},{ "title": "卡面号", "field": "CardFaceIds", "type": 'like'}],
                [{ "title": "商品名称", "field": "SkuName", "type": "like"},{ "title": "商品编码", "field": "SkuCode", "type": "like"},{ "title": "结算时间", "field": "SettlementTime", "type": 'datetime'}],
                [{ "title": "订单号查询", "field": "OrderId", "type": "like"}]],
                columns: [
                      {field:'OrderId',title:'订单id',type:'string',width:190,align:'left'},
                       {field:'CardFaceIds',title:'卡面号',type:'string',width:120,align:'left'},
                       {field:'SkuName',title:'商品名称',type:'string',width:120,align:'left'},
                       {field:'SkuCode',title:'商品编码',type:'string',width:120,align:'left'},
                       {field:'supplierCode',title:'供应商编码',type:'string',width:120,align:'left'},
                       {field:'supplierName',title:'供应商名称',type:'string',width:120,align:'left'},
                       {field:'SettlementTime',title:'结算时间',type:'string',width:120,align:'left'},
                       {field:'ServicePointName',title:'服务点',type:'string',width:120,align:'left'},
                      //  {field:'PayTypeId',title:'支付类型',type:'string',width:90,align:'left'},
                       {field:'PayTypeName',title:'支付类型名称',type:'string',width:120,align:'left'},
                       {field:'CreateTime',title:'支付时间',type:'datetime',width:190,align:'left',sortable:true},
                       {field:'In',title:'进账',type:'decimal',width:90,align:'left'},
                       {field:'PayCode',title:'支付编码',type:'string',width:220,align:'left'},
                       {field:'LeadershipName',title:'导游名称',type:'string',width:120,align:'left'},
                       {field:'LeadershipPhone',title:'导游手机号',type:'string',width:150,align:'left'},
                       {field:'Remark',title:'备注',type:'string',width:220,align:'left'},],
                detail: {
                    cnName:"#detailCnName",
                    columns: [],
                    sortName: "",
                    key:""
                }
            };
        }
    };
    export default vueParam;
</script>
